package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.RecordController;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 控制器上报数据 Mapper 接口
 * </p>
 *
 * @author guoliang.lao
 * @since 2022-08-04
 */
@Mapper
@Repository
public interface RecordControllerMapper extends BaseMapper<RecordController> {

    RecordController selectByImei(@Param("imei") String imei,@Param("spId") String spId);

    List<RecordController> selectByImeis(@Param("imeis")List<String> imeis, @Param("spId")String spId);
}
